//
//  EditingViewController.h
//  iExpense
//
//  Created by WU, Zhenyu on 7/30/09.
//  Copyright 2009 National Instruments. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface EdittingViewController : UIViewController {
	IBOutlet UITextField *textField;
	IBOutlet UITextView  *textView;
	
    NSManagedObject *editedObject;
    NSString *editedFieldKey;
    NSString *editedFieldName;
	
	@public BOOL isNumber;
}

@property (nonatomic, retain) UITextField *textField;
@property (nonatomic, retain) UITextView  *textView;
@property (nonatomic, retain) NSManagedObject *editedObject;
@property (nonatomic, retain) NSString *editedFieldKey;
@property (nonatomic, retain) NSString *editedFieldName;

- (IBAction)cancel;
- (IBAction)save;

@end
